projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25d58c
)
Revert "Avoid occasional confusion of Flymake C/C++ backend"
author
João Távora
<joaotavora@gmail.com>
Thu, 28 Mar 2019 17:47:43 +0000
(17:47 +0000)
committer
João Távora
<joaotavora@gmail.com>
Tue, 2 Jul 2019 14:20:16 +0000
(15:20 +0100)
This reverts commit
67c3a3af1d9e2582193d5ea33b6c190e79ad56e6
, which
creates more problems than it solves.
lisp/progmodes/flymake-cc.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake-cc.el
b/lisp/progmodes/flymake-cc.el
index 248c95a256f9b4445a05546c9bcd72e78e921ed9..1b449bd07934eee47c754dfdaaf93180174475d0 100644
(file)
--- a/
lisp/progmodes/flymake-cc.el
+++ b/
lisp/progmodes/flymake-cc.el
@@
-58,9
+58,7
@@
SOURCE."
(cl-loop
while
(search-forward-regexp
- (concat
- "^\\(In file included from \\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)"
- "?:[\n ]?\\(error\\|warning\\|note\\): \\(.*\\)$")
+ "^\\(In file included from \\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?:\n?\\(.*\\): \\(.*\\)$"
nil t)
for msg = (match-string 5)
for (beg . end) = (flymake-diag-region